GtkScrollable: Use G_PARAM_EXPLICIT_NOTIFY
authorMatthias Clasen <mclasen@redhat.com>
Mon, 9 Jun 2014 13:25:19 +0000 (09:25 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 9 Jun 2014 17:31:08 +0000 (13:31 -0400)
Implementors will have to be adjusted.

gtk/gtkscrollable.c

index 94c558559d5bb0412c9bbae88d14328acc95e133..20028782ae473ae6d4cd47f4e869a9bf84bfeaa8 100644 (file)
@@ -112,7 +112,7 @@ gtk_scrollable_default_init (GtkScrollableInterface *iface)
                             P_("How the size of the content should be determined"),
                             GTK_TYPE_SCROLLABLE_POLICY,
                             GTK_SCROLL_MINIMUM,
-                            GTK_PARAM_READWRITE);
+                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
   g_object_interface_install_property (iface, pspec);
 
   /**
@@ -128,7 +128,7 @@ gtk_scrollable_default_init (GtkScrollableInterface *iface)
                             P_("How the size of the content should be determined"),
                             GTK_TYPE_SCROLLABLE_POLICY,
                             GTK_SCROLL_MINIMUM,
-                            GTK_PARAM_READWRITE);
+                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
   g_object_interface_install_property (iface, pspec);
 }